<#assign s=JspTaglibs["/WEB-INF/struts-tags.tld"] />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
	<link rel="stylesheet" type="text/css" href="../styles/global.css"/>
	<link rel="stylesheet" type="text/css" href="../styles/elements.css"/>
	<link rel="stylesheet" type="text/css" href="../scripts/jquery-ui-1.8.16/jquery-ui-1.8.16.custom.css" />
	<script type="text/javascript" src="../scripts/jquery-ui-1.8.16/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="../scripts/jquery-ui-1.8.16/jquery-ui-1.8.16.custom.min.js"></script>
	<script type="text/javascript" src="../scripts/highstock-1.0.Beta/highstock.js"></script>
	<script type="text/javascript" src="../scripts/highstock-1.0.Beta/themes/grid.js"></script>
	<script type="text/javascript" src="../scripts/common.js"></script>
<script type="text/javascript">
	/* 初始化高管详细资料弹出框事件 */
	$("#gsggtable tbody tr").css("cursor","pointer");
	$("#gsggtable tbody tr").click(function(){
		var arr = this.id.split("_");
		$("#jj_"+arr[1]).dialog({
			modal:true,
			width:400,
			title:arr[2],
			buttons:{
				ok:function(){$(this).dialog("close");}
			}
		});
	});
</script>
<style>
.jj{
	display:none;
}
</style>
</head>
<body>
	<table id="gsggtable" class="datatable">
		<caption>公司高管名录</caption>
		<thead><tr><th>姓名</th><th>年龄</th><th>性别</th><th>学历</th><th>职务</th><th>任期起</th><th>任期止</th></tr></thead>
		<tbody>
			<#if gsgglist??>
				<@s.iterator value='gsgglist' var='gsgg' status='st'>
				<tr id="idx_<@s.property value='#st.index'/>_<@s.property value='id.xm'/>">
					<td><@s.property value='id.xm'/></td>
					<td><@s.property value='id.nl'/>岁</td>
					<td><@s.property value='id.xb'/></td>
					<td><@s.property value='id.xl'/></td>
					<td><@s.property value='zw'/></td>
					<td><@s.date name='rqq' format='yyyy-MM-dd'/></td>
					<td><@s.date name='rqz' format='yyyy-MM-dd'/></td>
				</tr>
				</@s.iterator>
			<#else>
			<tr><td colspan="7" style="text-align:center">没有数据</td></tr>
			</#if>
		</tbody>
	</table>
	
	<@s.iterator value='gsgglist' var='gsgg' status='st'>
		<div class="jj" id="jj_<@s.property value='#st.index'/>">
		<@s.property value='jj'/>
		</div>
	</@s.iterator>
</body>
</html>